package com.xuan.yuapi.service;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuan.common.model.entity.InterfaceInfo;
import com.xuan.yuapi.model.dto.interfaceinfo.InterfaceInfoQueryRequest;

/**
* @author 清凉茶
* @description 针对表【interface_info】的数据库操作Service
* @createDate 2024-05-20 11:07:19
*/
public interface InterfaceInfoService extends IService<InterfaceInfo> {
    /**
     * 组合查询条件
     * @param interfaceInfoQueryRequest
     * @return
     */
    QueryWrapper<InterfaceInfo> getQueryWrapper(InterfaceInfoQueryRequest interfaceInfoQueryRequest);


    /**
     * 校验
     *
     * @param interfaceInfo
     * @param add
     */
    void validInterfaceInfo(InterfaceInfo interfaceInfo, boolean add);


}
